﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="RemoveType.aspx.cs" Inherits="StringPlay.RemoveType" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
            border:1px solid gray;
        }
        .style1 td
        {
             padding-left:10px;
            
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   
    <h2>
        Remove Character From Given String.</h2>
        <br /><br />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table class="style1" >
                <tr>
                    <th style="width: 200px;text-align:left;">
                        &nbsp; Action
                    </th>
                    <th style="width: 150px;">
                        &nbsp; Input
                    </th>
                    <th style="width: 100px;">
                        &nbsp;
                    </th>
                    <th style="text-align:left;color:Green;">
                        &nbsp; Get Result
                    </th>
                </tr>
                <tr>
                    <td>
                        Remove All Special Character:
                    </td>
                    <td>
                        <asp:TextBox ID="txtCharacter" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="btnCharacter" runat="server" Text="Submit" 
                            onclick="btnCharacter_Click" />
                    </td>
                    <td style="color:Green;">
                        <asp:Label ID="lblCharacter" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        Remove All Number
                    </td>
                    <td>
                        <asp:TextBox ID="txtNumber" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="btnNumber" runat="server" Text="Submit" 
                            onclick="btnNumber_Click" />
                    </td>
                    <td style="color:Green;">
                        <asp:Label ID="lblNumber" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        Remove All Alphabet
                    </td>
                    <td>
                        <asp:TextBox ID="txtAlphabet" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="btnAlphabet" runat="server" Text="Submit" 
                            onclick="btnAlphabet_Click" />
                    </td>
                    <td style="color:Green;">
                        <asp:Label ID="lblAlphabet" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        Remove All UpperCase Alphabet & Numbers
                    </td>
                    <td>
                        <asp:TextBox ID="txtUpperCase" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="btnUpperCase" runat="server" Text="Submit" 
                            onclick="btnUpperCase_Click" />
                    </td>
                    <td style="color:Green;">
                        <asp:Label ID="lblUpperCase" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        Remove All Lower Case Alphabet & Numbers
                    </td>
                    <td>
                        <asp:TextBox ID="txtLowerCase" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="btnLowerCase" runat="server" Text="Submit" 
                            onclick="btnLowerCase_Click" />
                    </td>
                    <td style="color:Green;">
                        <asp:Label ID="lblLowerCase" runat="server"></asp:Label>
                    </td>
                </tr>
                 <tr>
                    <td>
                        Remove All UpperCase Alphabet
                    </td>
                    <td>
                        <asp:TextBox ID="txtOnlyUpperCase" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="btnOnlyUpperCae" runat="server" Text="Submit" 
                            onclick="btnOnlyUpperCase_Click" />
                    </td>
                    <td style="color:Green;">
                        <asp:Label ID="lblOnlyUpperCase" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        Remove All Lower Case Alphabet
                    </td>
                    <td>
                        <asp:TextBox ID="txtOnlyLowerCase" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="btnOnlyLowerCase" runat="server" Text="Submit" 
                            onclick="btnOnlyLowerCase_Click" />
                    </td>
                    <td style="color:Green;">
                        <asp:Label ID="lblOnlyLowerCase" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
